from django import forms
from django.utils.safestring import SafeString
from django.forms.models import modelformset_factory
from django.utils.translation import ugettext as _
from django.template.loader import render_to_string
from django.contrib.auth.models import User

from pypsqueak.chrome.widgets import *
from pypsqueak.chrome.forms import ChromeModelForm, ChromeModelForm
from pypsqueak.artifact.models import Artifact

class ArtifactInsertForm(ChromeModelForm):

	class Meta:
		model = Artifact
		exclude = ('title')


class ArtifactUpdateForm(ChromeModelForm):
	file = forms.FileField(required=False)

	class Meta:
		model = Artifact


class ArtifactDeleteForm(ChromeModelForm):
	pass

